package com.wp.service;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.wp.entity.Dept;

import java.util.List;

/**
 * @author: WangPeng
 * @createTime: 2022/11/17 15:55
 * @description:
 * @version: v1.0
 */
public interface DeptService {

    PageInfo<Dept> getAllDept(int current, int pageSize);

    int deleteById(int id);

    int insertDept(Dept dept);

    int updateById(Dept dept);
}

